#include "Visitor.hpp"

//using namespace xml;
void
Visitor::start_element_visit(const xml::Element &e) {
	cout << "Starting visit of element " << e.nmspace() << e.name() << endl;
	//indent += 2;
}

void
Visitor::end_element_visit(const xml::Element &e) {
	//indent -= 2;
	cout << "Ending visit of element " << e.nmspace() << e.name() << endl;
}

void
Visitor::visit_text(const xml::Text &t) {
	cout << "Visiting text content \"" << t.str() << "\"" << endl;
}


